package jp.ne.hatena.d.digitalsoul.warikan.models

@serializable
class Slope(val id:String, var name:String) {
	
    var weights = Map[String, Int]()
    
    def this(id:String) = this(id, null)
    
    def populateWith(another:Slope) = {
    	this.name = another.name
    	this.weights = another.weights
    }

}